#include <bits/stdc++.h>
using namespace std;
const int M=1e6+10;
int a,s[M]={0};
int main(){
    int n;
    int m=-1,k=M+100;
    int ans=0;
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=0;i<n;i++){
        cin>>a;
        m=max(m,a);
        k=min(k,a);
        s[a]++;
    }
    ans=s[k];
    for(int i=k+1;i<=m;i++){
        if(s[i]==0) continue;
        if(s[i]>=ans) ans=s[i];
        else ans=ans;
    }
    cout<<ans<<endl;
    return 0;
}
